{extend name="../../base/view/common/base" /}
{block name="style"}
{include file="/approve/view_style" /}
{/block}
<!-- 主体 -->
{block name="body"}
<form class="layui-form p-4">
	<h3 class="pb-3">付款申请审批</h3>
	<table class="layui-table layui-table-form">
		<tr>
			<td class="layui-td-gray">付款金额</td>
			<td>{$detail.amount}</td>
			<td class="layui-td-gray">付款方式</td>
			<td>
				{eq name="$detail.detail_type" value="1"}银行卡{/eq}
				{eq name="$detail.detail_type" value="2"}现金{/eq}
				{eq name="$detail.detail_type" value="3"}汇票{/eq}
				{eq name="$detail.detail_type" value="4"}电汇{/eq}
				{eq name="$detail.detail_type" value="5"}贷记{/eq}
				{eq name="$detail.detail_type" value="6"}支票{/eq}
				{eq name="$detail.detail_type" value="7"}其他{/eq}
			</td>
			<td class="layui-td-gray">付款日期</td>
			<td>{$detail.detail_time}</td>
		</tr>
		<tr>
			<td class="layui-td-gray-2">收款人全称</td>
			<td>{$detail.name}</td>
			<td class="layui-td-gray">银行账号</td>
			<td>{$detail.bank}</td>
			<td class="layui-td-gray">开户行</td>
			<td>{$detail.address}</td>
		</tr>
		<tr>
			<td class="layui-td-gray">付款事由</td>
			<td colspan="5">{:nl2br($detail.content)}</td>
		</tr>
		<tr>
			<td class="layui-td-gray">备注</td>
			<td colspan="5">{:nl2br($detail.remark)}</td>
		</tr>
		{notempty name="$detail.file_ids"}
		<tr>
			<td class="layui-td-gray">相关附件</td>
			<td colspan="5" style="line-height:inherit">
				<div class="layui-row">
					{volist name="$detail.fileArray" id="vo"}
					<div class="layui-col-md4" id="uploadImg{$vo.id}">{:file_card($vo,'view')}</div>
					{/volist}
				</div>
			</td>
		</tr>
		{/notempty}
	</table>	
	{include file="/approve/view_step" /}
</div>
{/block}
<!-- /主体 -->

<!-- 脚本 -->
{block name="script"}
{include file="/approve/view_script" /}
{/block}
<!-- /脚本 -->